package com.xinli.xinlifm.http.bean.player;

import java.util.List;

/**
 * Created by zz on 16-10-17.
 */

public class PlayerBean {

    /**
     * code : 0
     * data : {"id":"99389596","title":"治愈系音乐|醉梦","cover":"http://ossimg.xinli001.com/20160825/21db5a26aea894e9f23303a3504d2866.png","url":"http://yiapi.xinli001.com/fm/media-url/0/99389596","speak":"心理FM","favnum":"319","viewnum":"57282","background":null,"is_teacher":false,"absolute_url":"http://yiapi.xinli001.com/fm/fm-share-page/99389596","url_list":[],"commentnum":"23","range":"2556303","duration":"319","diantai":{"id":"903","title":"心理FM","cover":"http://image.xinli001.com//20141225/121205/510314.jpg!120x120","fmnum":"195","user_id":"8021831","viewnum":"20236113","content":"【微信：心理FM，ID：yixinlifm 】 【心理FM 官方网址fm.xinli001.com】","favnum":"5567","user":{"id":"8021831","username":"2799940025@qq.com","nickname":"心理FM文章","phone":null,"avatar":"http://ossimg.xinli001.com/20160624/bddbb070d7c6c91cc3a96b1878976e2d.png!80"},"commentnum":"227","absolute_url":"http://yiapi.xinli001.com/fm/diantai-share-page/903"},"user_gift_list":[]}
     */

    private int code;
    /**
     * id : 99389596
     * title : 治愈系音乐|醉梦
     * cover : http://ossimg.xinli001.com/20160825/21db5a26aea894e9f23303a3504d2866.png
     * url : http://yiapi.xinli001.com/fm/media-url/0/99389596
     * speak : 心理FM
     * favnum : 319
     * viewnum : 57282
     * background : null
     * is_teacher : false
     * absolute_url : http://yiapi.xinli001.com/fm/fm-share-page/99389596
     * url_list : []
     * commentnum : 23
     * range : 2556303
     * duration : 319
     * diantai : {"id":"903","title":"心理FM","cover":"http://image.xinli001.com//20141225/121205/510314.jpg!120x120","fmnum":"195","user_id":"8021831","viewnum":"20236113","content":"【微信：心理FM，ID：yixinlifm 】 【心理FM 官方网址fm.xinli001.com】","favnum":"5567","user":{"id":"8021831","username":"2799940025@qq.com","nickname":"心理FM文章","phone":null,"avatar":"http://ossimg.xinli001.com/20160624/bddbb070d7c6c91cc3a96b1878976e2d.png!80"},"commentnum":"227","absolute_url":"http://yiapi.xinli001.com/fm/diantai-share-page/903"}
     * user_gift_list : []
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String id;
        private String title;
        private String cover;
        private String url;
        private String speak;
        private String favnum;
        private String viewnum;
        private Object background;
        private boolean is_teacher;
        private String absolute_url;
        private String commentnum;
        private String range;
        private String duration;
        /**
         * id : 903
         * title : 心理FM
         * cover : http://image.xinli001.com//20141225/121205/510314.jpg!120x120
         * fmnum : 195
         * user_id : 8021831
         * viewnum : 20236113
         * content : 【微信：心理FM，ID：yixinlifm 】 【心理FM 官方网址fm.xinli001.com】
         * favnum : 5567
         * user : {"id":"8021831","username":"2799940025@qq.com","nickname":"心理FM文章","phone":null,"avatar":"http://ossimg.xinli001.com/20160624/bddbb070d7c6c91cc3a96b1878976e2d.png!80"}
         * commentnum : 227
         * absolute_url : http://yiapi.xinli001.com/fm/diantai-share-page/903
         */

        private DiantaiBean diantai;
        private List<?> url_list;
        private List<?> user_gift_list;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getSpeak() {
            return speak;
        }

        public void setSpeak(String speak) {
            this.speak = speak;
        }

        public String getFavnum() {
            return favnum;
        }

        public void setFavnum(String favnum) {
            this.favnum = favnum;
        }

        public String getViewnum() {
            return viewnum;
        }

        public void setViewnum(String viewnum) {
            this.viewnum = viewnum;
        }

        public Object getBackground() {
            return background;
        }

        public void setBackground(Object background) {
            this.background = background;
        }

        public boolean isIs_teacher() {
            return is_teacher;
        }

        public void setIs_teacher(boolean is_teacher) {
            this.is_teacher = is_teacher;
        }

        public String getAbsolute_url() {
            return absolute_url;
        }

        public void setAbsolute_url(String absolute_url) {
            this.absolute_url = absolute_url;
        }

        public String getCommentnum() {
            return commentnum;
        }

        public void setCommentnum(String commentnum) {
            this.commentnum = commentnum;
        }

        public String getRange() {
            return range;
        }

        public void setRange(String range) {
            this.range = range;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public DiantaiBean getDiantai() {
            return diantai;
        }

        public void setDiantai(DiantaiBean diantai) {
            this.diantai = diantai;
        }

        public List<?> getUrl_list() {
            return url_list;
        }

        public void setUrl_list(List<?> url_list) {
            this.url_list = url_list;
        }

        public List<?> getUser_gift_list() {
            return user_gift_list;
        }

        public void setUser_gift_list(List<?> user_gift_list) {
            this.user_gift_list = user_gift_list;
        }

        public static class DiantaiBean {
            private String id;
            private String title;
            private String cover;
            private String fmnum;
            private String user_id;
            private String viewnum;
            private String content;
            private String favnum;
            /**
             * id : 8021831
             * username : 2799940025@qq.com
             * nickname : 心理FM文章
             * phone : null
             * avatar : http://ossimg.xinli001.com/20160624/bddbb070d7c6c91cc3a96b1878976e2d.png!80
             */

            private UserBean user;
            private String commentnum;
            private String absolute_url;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getFmnum() {
                return fmnum;
            }

            public void setFmnum(String fmnum) {
                this.fmnum = fmnum;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getViewnum() {
                return viewnum;
            }

            public void setViewnum(String viewnum) {
                this.viewnum = viewnum;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getFavnum() {
                return favnum;
            }

            public void setFavnum(String favnum) {
                this.favnum = favnum;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public String getCommentnum() {
                return commentnum;
            }

            public void setCommentnum(String commentnum) {
                this.commentnum = commentnum;
            }

            public String getAbsolute_url() {
                return absolute_url;
            }

            public void setAbsolute_url(String absolute_url) {
                this.absolute_url = absolute_url;
            }

            public static class UserBean {
                private String id;
                private String username;
                private String nickname;
                private Object phone;
                private String avatar;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public Object getPhone() {
                    return phone;
                }

                public void setPhone(Object phone) {
                    this.phone = phone;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }
            }
        }
    }
}
